﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aribaccio.Custom
{
    /// <summary>
    /// 每页分页数量
    /// </summary>
    public struct PagerSize
    {
        /// <summary>
        /// 每页分页数量
        /// </summary>
        public int Size { get; set; }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="argSize"></param>
        public PagerSize(int argSize)
        {
            this.Size = argSize;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return $"{this.Size}/页";
        }
    }
}
